import req from '../utils/req'

// 获取个人信息
export const profile = (() => {
 return req.get("/member/profile");
})

// 登录
export const login = ((data) => {
 return req.post("/member/login", data);
})

// 登录
export const register = ((data) => {
 return req.post("/member/register", data);
})